package com.small.sentinel.slots.block;

public class RuleConstant {

    /**
     * 白名单
     */
    public static final int AUTHORITY_WHITE = 0;
    /**
     * 黑名单
     */
    public static final int AUTHORITY_BLACK = 1;


    /**
     * 线程数
     */
    public static final int FLOW_GRADE_THREAD = 0;
    /**
     * qps
     */
    public static final int FLOW_GRADE_QPS = 1;

    public static final String LIMIT_APP_DEFAULT = "default";

    public static final String LIMIT_APP_OTHER = "other";


    /**
     * 直接模式
     */
    public static final int STRATEGY_DIRECT = 0;
    /**
     * 关联模式
     */
    public static final int STRATEGY_RELATE = 1;
    /**
     * 链路模式
     */
    public static final int STRATEGY_CHAIN = 2;
}
